package cn.bxshey.general.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 活动(Activity)表实体类
 *
 * @author makejava
 * @since 2024-03-02 16:24:23
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("activity")
public class Activity {
    @TableId
    //活动id    
    private String activityId;

    //活动描述
    private String activityMessage;
    //活动开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date activityCreateTime;
    //活动结束时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date activityEndTime;
    //活动优惠卷类型
    private Integer couponsTypeId;
    //活动规则
    private String activityRules;
}
